/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'
// 核心数据的路由管理
const coreRouter = {
  path: '/core',
  component: Layout,
  redirect: 'noRedirect',
  name: 'CoreData',
  meta: { title: 'coredata', icon: 'table' },
  children: [
    {
      path: 'loginCreds',
      component: () => import('@/views/coredata/logincreds/loginCreds'),
      name: 'loginCreds',
      meta: { title: 'loginCreds', noCache: true }
    },
    {
      path: 'webSite',
      component: () => import('@/views/coredata/website/website'),
      name: 'webSite',
      meta: { title: '网址信息', noCache: true }
    },
    {
      path: 'apiInfo',
      component: () => import('@/views/coredata/apiinfo/apiInfo'),
      name: 'apiInfo',
      meta: { title: '免费API', noCache: true }
    },
    {
      path: 'mediaInfo',
      component: () => import('@/views/coredata/mediainfo/mediaInfo'),
      name: 'mediaInfo',
      meta: { title: '媒体信息', noCache: true }
    },
    {
      path: 'SelfMusic',
      component: () => import('@/views/coredata/music/music'),
      name: 'SelfMusic',
      meta: { title: '网易音乐', noCache: true }
    },
    {
      path: 'planInfo',
      component: () => import('@/views/coredata/planinfo/planInfo'),
      name: 'planInfo',
      meta: { title: '计划信息', noCache: true }
    },
    {
      path: 'workLogInfo',
      component: () => import('@/views/coredata/workloginfo/workLogInfo'),
      name: 'workLogInfo',
      meta: { title: '工作日志', noCache: true }
    },
    {
      path: 'questionInfo',
      component: () => import('@/views/coredata/questioninfo/questionInfo'),
      name: 'questionInfo',
      meta: { title: '问题整理', noCache: true }
    },
    {
      path: 'dateInfo',
      component: () => import('@/views/coredata/dateinfo/dateInfo'),
      name: 'dateInfo',
      meta: { title: '日期信息', noCache: true }
    },
    {
      path: 'shoppingInfo',
      component: () => import('@/views/coredata/shoppinginfo/shoppingInfo'),
      name: 'shoppingInfo',
      meta: { title: '购物清单', noCache: true }
    }
  ]
}

export default coreRouter
